package com.wyp.mapper;

import com.wyp.pojo.Apartments;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ApartmentsMapper {

    public List<Apartments> qureyAllApartment();

    public Apartments qureyApartmentById(int apartmentid);

    public Apartments findByapartname(String apartmentname);

    public int addApartment(Apartments apartments);

    public int updateApartment(Apartments apartments);
}
